# -*- coding: utf-8 -*-
# created by Src - 一路好时光

#f = open("w-test.txt", mode='r')
#f = open("w-test.txt", "r")
f = open("w-test.txt")#不写默认r
print(f.readline())#读取光标行
print("-----------")
print(f.read())#读所有内容

#hello world
#
# -----------
# 张三
# 李四
# 哈哈